package cn.clq.ymcc.mapper;

import cn.clq.ymcc.domain.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author stone.chen
 * @since 2022-07-15
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * @description: 查询当前登陆人的权限
     * @param: id
     * @return: java.util.List<cn.clq.ymcc.domain.Permission>
     * @author clqlongbao
     * @date: 2022/8/7 12:49
     */
    List<Permission> selectPermissionsByLoginId(Long id);
}
